#ifndef UNIT_TEST_H
#define UNIT_TEST_H

#include <gtk/gtk.h>
#include <goocanvas.h>

#include <model.h>
#include <systemSettingMessage.h>
#include <attackTargetMessage.h>
#include <attackerMessage.h>
#include <broadcast.h>
#include <modelManager.h>


// stubs
// model ...
class StubModel : public Model::model
{
  bool nullBroadcast;
 public:

  virtual int ReceiveBroadcast(Controller::Broadcast *broadcast){
    if ( NULL == broadcast )
      nullBroadcast = true;
    else
      nullBroadcast = false;
    return 0;
  }

  virtual int SendBroadcast(Controller::Broadcast *broadcast) {
    if ( NULL == broadcast )
      nullBroadcast = true;
    else
      nullBroadcast = false;
    return 0;
  }

  bool NullBroadcast(){ return nullBroadcast;}
};


#endif
